﻿using Gp.Scripts.Core;
using QFramework;
using UnityEngine;
using UnityEngine.UI;

namespace Gp.Scripts.GUI {
    public class FetchAreaButton : MonoBehaviour, IController{
        private Button _button;

        private void Start() {
            // _button = this.GetOrAddComponent<Button>();
            //
            // _button.onClick.AddListener(() => {
            //     var unit = CellGridSystem.Instance.CurrentUnit;
            //     if (!unit)
            //         return;
            //     var area = CellGridSystem.Instance.CellGridModel.PsionicsArea;
            //     area.GrowArea(unit);
            // });

        }

        public IArchitecture GetArchitecture() {
            return MainArchitecture.Interface;
        }


    }
}